home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2006 May
/
PCWMAY06.iso
/
Software
/
Freeware
/
First Page 2006 3.00
/
fp2006-final-3.00-setup.exe
/
{app}
/
Iscripts
/
Links
/
text-moves-button.izs
< prev
next >
Wrap
Text File
|
2005-08-07
|
2KB
|
76 lines
<!NOWIZARD>
<!TITLE>text that moves in button
<!/TITLE>
<!DESCRIPTION>Text moving button!
<!/DESCRIPTION>
<!CATEGORY>links<!/CATEGORY>
<!SCRIPT>
<!-- START OF SCRIPT -->
<CENTER>
<form name="form2" onSubmit=null>
<!-- Replace the 'onSubmit=null' with 'action=[blah.html]' -->
<input type="submit" name="banner" VALUE=".......Submit.......">
</form>
</CENTER>
<script language="JavaScript">
// Copyright 1998 Jon Eyrick - action1@vfr.net
// http://www.geocities.com/CapeCanaveral/4155/
// I do not take full credit for this script, I only made half of this..
var id,pause=0,position=0;
function banner() {
// variables declaration
var i,k,msg=" Submit Submit Submit Submit Submit";
// increase msg
k=(60/msg.length)+1;
for(i=0;i<=k;i++) msg+=" "+msg;
// show it to the window
document.form2.banner.value=msg.substring(position,position+60);
// set new position
if(position++==msg.length) position=0;
// repeat at entered speed
id=setTimeout("banner()",150); }
// end -->
banner();
</script>
<!-- END OF SCRIPT -->
<!/SCRIPT>
<!PREVIEW>
<!-- START OF SCRIPT -->
<CENTER>
<form name="form2" onSubmit=null>
<!-- Replace the 'onSubmit=null' with 'action=[blah.html]' -->
<input type="submit" name="banner" VALUE=".......Submit.......">
</form>
</CENTER>
<script language="JavaScript">
// Copyright 1998 Jon Eyrick - action1@vfr.net
// http://www.geocities.com/CapeCanaveral/4155/
// I do not take full credit for this script, I only made half of this..
var id,pause=0,position=0;
function banner() {
// variables declaration
var i,k,msg=" Submit Submit Submit Submit Submit";
// increase msg
k=(60/msg.length)+1;
for(i=0;i<=k;i++) msg+=" "+msg;
// show it to the window
document.form2.banner.value=msg.substring(position,position+60);
// set new position
if(position++==msg.length) position=0;
// repeat at entered speed
id=setTimeout("banner()",150); }
// end -->
banner();
</script>
<!-- END OF SCRIPT -->
<!/PREVIEW>
<!RELATED>NONE<!/RELATED>